﻿using System;
using System.Web.UI;
using Microsoft.Live.ServerControls.VE;

namespace Microsoft.Live.ServerControls.Web
{
    public partial class MiniMap : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        protected void ShowDefault_Click(object sender, EventArgs e)
        {
            Map1.MiniMap = true;
        }

        protected void Buttonsmall_Click(object sender, EventArgs e)
        {
            Map1.MiniMapSize = MiniMapSize.Small;
        }

        protected void Buttonlarge_Click(object sender, EventArgs e)
        {
            Map1.MiniMapSize = MiniMapSize.Large;
        }

        protected void ButtonMove_Click(object sender, EventArgs e)
        {
            Map1.MiniMapXoffset = 200;
            Map1.MiniMapYoffset = 300;
        }

        protected void ButtonHide_Click(object sender, EventArgs e)
        {
            Map1.MiniMap = false;
        }
    }
}